/*
 * @Author: wang
 * @Date: 2022-07-08 16:54:11
 * @LastEditors: wang
 * @LastEditTime: 2022-07-28 18:07:35
 * @Description: 
 */
import { createApp } from 'vue'
import router from './router'
import App from './App.vue'
import '@/styles/global.scss'
import '@/assets/fonts/iconfont.css'

import '@vueup/vue-quill/dist/vue-quill.snow.css'

import { ElMessage, ElMessageBox } from 'element-plus'
import 'element-plus/theme-chalk/el-message.css'
import 'element-plus/theme-chalk/el-message-box.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const app = createApp(App)

app.config.globalProperties.$message = ElMessage
app.config.globalProperties.$messageBox = ElMessageBox


app.use(router).use(ElementPlus, {
  locale: zhCn,
}).mount('#app')
